import http from "@/api/http";

const request = "/api";

export const codeLists = (data) => {
  return http.post(`${request}/code/lists`, {...data});
};

export const tokenAdd = (data) => {
  return http.post(`${request}/token/add`, data);
};

export const increase = (data) => {
  return http.post(`${request}/code/increase`, data);
};

export const writeoff = (data) => {
  return http.post(`${request}/code/writeoff`, data);
};
